package com.hua.nailcampus.acl.model.vo;

import com.hua.nailcampus.acl.model.User;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:chenjianhua
 * @Date:2023/11/15 19:29
 * @Version 1.8
 */
@Data
public class UserVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String password;
    private String userName;
    private String phone;
    private Integer sex;
    private String email;
    private String signature;
    private Boolean status;
    private String avaUrl;
    private String schoolName;
    private Integer cityId;
    private String  cityName;
    private String provinceName;
    private String studentId;
    private Integer roleId;
    public UserVo(){
    }
    public UserVo(User user){
        this.id = user.getId();
        this.userName = user.getUserName();
        this.phone = user.getPhone();
        this.sex = user.getSex();
        this.email = user.getEmail();
        this.signature = user.getSignature();
        this.status = user.getStatus();
    }


}
